#!/bin/bash
echo "正在添加防火墙白名单，请稍候..."
iptables -A INPUT -s 113.31.27.0/16 -j ACCEPT
iptables -A INPUT -s 113.31.87.0/16 -j ACCEPT
iptables -A INPUT -s 183.56.172.0/16 -j ACCEPT
iptables -A INPUT -s 222.186.19.0/16 -j ACCEPT
iptables -A INPUT -s 119.97.146.0/16 -j ACCEPT
iptables -A INPUT -s 122.226.182.0/16 -j ACCEPT
iptables -A INPUT -s 123.149.54.0/16 -j ACCEPT
iptables -A INPUT -s 112.253.12.0/16 -j ACCEPT
iptables -A INPUT -s 221.204.202.0/16 -j ACCEPT
iptables -A INPUT -s 125.39.21.0/16 -j ACCEPT
iptables -A INPUT -s 42.236.6.0/16 -j ACCEPT
iptables -A INPUT -s 60.8.151.0/16 -j ACCEPT
iptables -A INPUT -s 115.231.91.0/16 -j ACCEPT
iptables -A INPUT -s 61.174.9.0/16 -j ACCEPT
iptables -A INPUT -s 120.92.248.0/16 -j ACCEPT
iptables -A INPUT -s 223.94.66.0/16 -j ACCEPT
echo "牛盾节点IP段添加防火墙白名单成功!" 